score_list = {
               "001": ["小赵", 100, 88, 87, 83],
               "002": ["小钱", 98, 90, 93, 88],
               "003": ["小孙", 87, 75, 85, 78],
               "004": ["小李", 89, 84, 79, 96],
               "005": ["小周", 82, 63, 68, 86],
               "006": ["小吴", 83, 59, 85, 78],
               "007": ["小郑", 75, 82, 77, 92],
               "008": ["小王", 78, 91, 69, 87],
               "009": ["小冯", 60, 75, 81, 66],
               "010": ["小陈", 68, 63, 83, 87]
             }
def get_course_score(score_list,student_id,course_name):
    course_index = {
        "Python":1,
        "Java":2,
        "C":3,
        "C++":4
    }

    if course_name not in course_index:
        return "未知课程"

    index = course_index[course_name]
    if student_id in score_list:
        return score_list[student_id][index]
    else:
        return "学生不存在"

print(get_course_score(score_list=score_list,course_name="Python",student_id="008"))
